/**
 * 用户相关请求模块
 */

import request from '@/utils/request'

// 登录
export const login = (data) => {
  return request({
    method: 'POST',
    url: '/xxx/login',
    data
  })
}

// 获取用户数据
export const getUserInfo = () => {
  return request({
    method: 'GET',
    url: '/xxx/user/getInfo'
  })
}
